//
//  BYJMVModel.m
//  BLDMusics
//
//  Created by 白云杰 on 16/3/20.
//  Copyright © 2016年 李晓丹. All rights reserved.
//

#import "BYJMVModel.h"
#import "BYJmvListModel.h"

@implementation BYJMVModel

- (void)setValue:(id)value forUndefinedKey:(NSString *)key {

  
    if ([key isEqualToString:@"mvList"]) {
        NSArray *tempArr = value;
        if (tempArr.count) {
            self.videoId = value[0][@"videoId"];
            self.picUrl = value[0][@"picUrl"];
            self.url = value[0][@"url"];
        }

    }
//    if ([key isEqualToString:@"mvList"]) {
//        self.videoId = value[0][@"videoId"];
//        self.picUrl = value[0][@"picUrl"];
//        self.url = value[0][@"url"];
//    }
    
    if ([key isEqualToString:@"mvList"]) {
        self.mvListArr = [BYJmvListModel modelHandleWithArray:value];

    }
}

@end
